package day5;

public class TestPhone {
    public static void main(String[] args) {
        Cell cell = new Cell();
        cell.brand = "锂电池";
        cell.charge(); // 电池充电
        Phone phone = new Phone();
        phone.cell = cell;
        phone.brand = "华为";
        phone.download();
        phone.playMusic();
        phone.playMusic();
        phone.playMusic();
        phone.playMusic();
        phone.playMusic();


    }
}
